- Author:
- Soroush <ssaf006@aucklanduni.ac.nz>
- Date:
- 2021-04-08 15:18:19+12:00
- Desc:
- modified svg
- Permanent Source URI:
- https://models.fieldml.org/workspace/43b/rawfile/994dbbb88a761fe3a62bfaf8352da94103650bb2/BG Tutorial Biochemical Systems/PK.cellml
<?xml version='1.0'?>
<model name="PK_RacemicWarfarin" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#">
<units name="h">
<unit multiplier="3600" units="second"/>
</units>
<units name="l_per_h">
<unit units="litre"/>
<unit exponent="-1" units="h"/>
</units>
<units name="mg">
<unit prefix="milli" units="gram"/>
</units>
<units name="mg_per_l">
<unit units="mg"/>
<unit exponent="-1" units="litre"/>
</units>
<units name="mg_per_h">
<unit units="mg"/>
<unit exponent="-1" units="h"/>
</units>
<units name="per_h">
<unit exponent="-1" units="h"/>
</units>
<component name="state">
<variable name="t" units="h"/>
<!-- State variables-->
<variable initial_value="1" name="q_A1" units="mg"/>
<variable initial_value="0.0" name="q_A2" units="mg"/>
<variable name="q_C" units="mg_per_l"/>
<variable name="v_1" units="mg_per_h"/>
<variable name="v_2" units="mg_per_h"/>
<!-- Parameters-->
<variable initial_value="8.1" name="k_V" units="litre"/>
<variable initial_value="0.134" name="k_CL" units="l_per_h"/>
<variable initial_value="0.48" name="k_1f" units="per_h"/>
<variable name="k_2f" units="per_h"/>
<!-- Parameters equations-->
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>k_2f</ci>
<apply>
<divide/>
<ci>k_CL</ci>
<ci>k_V</ci>
</apply>
</apply>
<!-- State equations-->
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>t</ci>
</bvar>
<ci>q_A1</ci>
</apply>
<apply>
<minus/>
<ci>v_1</ci>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>t</ci>
</bvar>
<ci>q_A2</ci>
</apply>
<apply>
<minus/>
<ci>v_1</ci>
<ci>v_2</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>v_1</ci>
<apply>
<times/>
<ci>k_1f</ci>
<ci>q_A1</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>v_2</ci>
<apply>
<times/>
<ci>k_2f</ci>
<ci>q_A2</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>q_C</ci>
<apply>
<divide/>
<ci>q_A2</ci>
<ci>k_V</ci>
</apply>
</apply>
</math>
</component>
</model>